package com.lj.oss.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;

public interface OssService {

    String upload(MultipartFile file);

    void download(String name, HttpServletResponse response) throws IOException;

    void delete(String name);
}
